/**
 * Project Name:gc.sms.mvn
 * File Name:IEmployeeService.java
 * Package Name:com.clps.dev.sms.service
 * Date:2018-11-27 16:36:38
 * Copyright (c) 2018,http://www.clpsglobal.com/zh/home-cn/ All Rights Reserved.
 *
 */
package com.clps.dev.sms.service.sm;


import com.clps.dev.sms.common.result.ResponseResult;
import com.clps.dev.sms.entity.sm.Employee;

/**
 * ClassName: IEmployeeService <br/>
 * Description: IEmployeeService.class <br/>
 * <br/>
 *
 * @author Jack.Huang
 * @version V1.0
 * @since JDK 1.8
 * @date:2018-11-27 16:36:38
 */
public interface IEmployeeService{
	
	/**
	 * 
	 * addEmployee
	 * @Description:增加一个职员信息
	 * @param Employee employee
	 * @return:String
	 */
	public ResponseResult<Employee>  addEmployee(Employee employee);
	/**
	 * 
	 * editEmployee
	 * @Description:修改一个职员信息
	 * @param Employee employee
	 * @return:String
	 */
	public ResponseResult<Employee>  editEmployee(Employee employee);
	/**
	 * 
	 * queryEmployee
	 * @Description:根据id查询一个职员信息
	 * @param Integer id
	 * @return:Employee
	 */
	public ResponseResult<Employee>  queryEmployee(Integer id);
	/**
	 * 
	 * deleteEmployee
	 * @Description:删除一个职员信息,改变职员状态  1代表在职  0代表离职  
	 * @param Integer id
	 * @return:String
	 */
	public ResponseResult<Employee>  deleteEmployee(Integer id , Integer empStatus);
	
	/**
	 * 
	 * queryAllEmployee
	 * @Description:查询全部职员信息
	 * @return:List<Employee>
	 */
	public ResponseResult<Employee>  queryAllEmployee();
	public ResponseResult<Employee>  queryAllEmployee(Integer currPage ,Integer pageSize,String time);
	public ResponseResult<Employee> isUniqueOfEmail(String email);
	public ResponseResult<Employee> queryByPage(Integer currPage ,Integer pageSize);
	public ResponseResult<Employee> queryByPageTime(Integer currPage ,Integer pageSize,String time,String empName,Integer status,Integer position);
	public ResponseResult<Employee> queryByPageName(Integer currPage ,Integer pageSize,String name);
 
}
